modfile: fix AddNewRequire block ordering#21
Conversation
Try to maintain the expected block ordering with direct requires in the first block and indirect requires in the second block. Also clarify expected use of SetRequireSeparateIndirect to avoid panic. Fixes #69050
|
This PR (HEAD: ed6e249) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/mod/+/608056. Important tips:
|
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/608056. |
|
Message from Steven Hartland: Patch Set 1: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/608056. |
|
Message from Michael Matloob: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/608056. |
|
Message from Steven Hartland: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/608056. |
Try to maintain the expected block ordering with direct requires in the
first block and indirect requires in the second block.
Also clarify expected use of SetRequireSeparateIndirect to avoid panic.
Fixes golang/go#69050